package com.sc.nft.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 虚拟商品分类列表DTO
 *
 * @author liGen
 * @version 1.0
 * @date 2023/11/13 10:53 上午
 */
@Data
public class MallVirtualCategoryPageDTO {

    @ApiModelProperty(value = "Id")
    private Long id;

    @ApiModelProperty(value = "分类名称")
    private String name;

    @ApiModelProperty(value = "权重")
    private Integer sort;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyTime;

    @ApiModelProperty(value = "是否展示")
    private Boolean isShow;

}
